﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.TO {
    /// <summary>
    /// 集市商品状态 0待审核 1上架中 2已下架 3已删除 4 已交易
    /// </summary>
    [Serializable]
    public enum EBazaarProductStatus {
        /// <summary>
        /// 0待审核
        /// </summary>
        [Description("待审核")]
        Auditing = 0,
        /// <summary>
        /// 1上架中
        /// </summary>
        [Description("上架中")]
        Upper = 1,
        /// <summary>
        /// 2已下架
        /// </summary>
        [Description("已下架")]
        Down = 2,
        /// <summary>
        /// 3已删除
        /// </summary>
        [Description("已删除")]
        Deleted =3,
        /// <summary>
        /// 已交易
        /// </summary>
        [Description("已交易")]
        Traded =4,
    }
    /// <summary>
    /// 集市订单状态 0待发货 1待收货 2交易成功 3交易取消
    /// </summary>
    [Serializable]
    public enum EBazaarOrderStatus {
        /// <summary>
        /// 0待发货
        /// </summary>
        [Description("待发货")]
        Received = 0,
        /// <summary>
        /// 1待收货
        /// </summary>
        [Description("待收货")]
        Delivery = 1,
        /// <summary>
        /// 2交易成功
        /// </summary>
        [Description("交易完成")]
        Finish = 2,
        /// <summary>
        /// 3交易取消
        /// </summary>
        [Description("交易取消")]
        Cancle = 3,
    }
}
